package com.bw.service;

import com.bw.dean.Businesses;
import com.bw.dean.Goods;
import com.bw.mapper.GoodsMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GoodsServiceImpl implements GoodsService {
    @Autowired
    GoodsMapper goodsMapper;

    @Override
    public List<Goods> getlist() {
        return goodsMapper.getlist();
    }

    @Override
    public List<Goods> getqj(int i, int i1) {
        return goodsMapper.getqj(i,i1);
    }

    @Override
    public int getcont() {
        return goodsMapper.getcont();
    }

    @Override
    public List<Businesses> getcountf() {
        return goodsMapper.getcountf();
    }

    @Override
    public List<Goods> getavg() {
        return goodsMapper.getavg();
    }

    @Override
    public int delss(int i) {
        return goodsMapper.delss(i);
    }
}
